export interface menuItem {
  icon: any
  name: string
  path: string
  active: string[]
}

export class UserModel {
  /**
   * 导航栏数据
   */
  public menu: menuItem[] = [
    {
      icon: 'esayIcon-tubiao_shouye',
      name: '首页',
      path: '/my',
      active: ['/my']
    },
    {
      icon: 'esayIcon-tubiao_wodeguanzhu',
      name: '我的关注',
      path: '/my/follow',
      active: ['/my/follow']
    },
    {
      icon: 'esayIcon-tubiao_wodeshoucang',
      name: '我的收藏',
      path: '/my/coll',
      active: ['/my/coll']
    },
    {
      icon: 'esayIcon-tubiao_wodezuji',
      name: '我的足迹',
      path: '/my/footprint',
      active: ['/my/footprint']
    },
    {
      icon: 'esayIcon-tubiao_wodeshangchuan',
      name: '我的上传',
      path: '/my/upload',
      active: ['/my/upload']
    },
    {
      icon: 'esayIcon-tubiao_wodexiazai',
      name: '我的购买',
      path: '/my/download',
      active: ['/my/download']
    },
    // {
    //   icon: 'esayIcon-tubiao_wodeshouyi',
    //   name: '我的收益',
    //   path: '/my/income',
    //   active: ['/my/income', '/my/payouts']
    // },
    // {
    //   icon: 'esayIcon-tubiao_wodedingdan-weixuanzhong',
    //   name: '我的订单',
    //   path: '/my/order',
    //   active: ['/my/order']
    // },
    // {
    //   icon: 'esayIcon-tubiao_huiyuan-weixuanzhong',
    //   name: 'VIP特权',
    //   path: '/my/vip',
    //   active: ['/my/vip']
    // },
    {
      icon: 'esayIcon-tubiao_renwuzhongxinweixuanzhong',
      name: '任务中心',
      path: '/my/task',
      active: ['/my/task']
    },
    // {
    //   icon: 'esayIcon-tubiao_wodekaquan',
    //   name: '我的卡券',
    //   path: '/my/coupons',
    //   active: ['/my/coupons']
    // },
    {
      icon: 'esayIcon-tubiao_wodexiaoxi',
      name: '我的消息',
      path: '/my/message',
      active: ['/my/message']
    },
    {
      icon: 'esayIcon-tubiao_shezhi',
      name: '账号设置',
      path: '/my/info',
      active: ['/my/info']
    }
  ]
}

export default new UserModel()
